using System;
using System.Configuration;
using System.Data;

namespace Jfc.DnnMarketingTools.MemberInvite
{
    /// -----------------------------------------------------------------------------
    ///<summary>
    /// The SenderAddressType enum for the MemberInviteSettings SenderAddress
    /// </summary>
    /// <remarks>
    /// </remarks>
    /// <history>
    /// </history>
    /// -----------------------------------------------------------------------------
    public enum SenderAddressType
    {
        User = 0,
        Administrator = 1
    }

    /// -----------------------------------------------------------------------------
    ///<summary>
    /// The Info class for the MemberInvite
    /// </summary>
    /// <remarks>
    /// </remarks>
    /// <history>
    /// </history>
    /// -----------------------------------------------------------------------------
    public class MemberInviteSettingsInfo
    {

    #region Private Members

        private int _PortalId;
        private int _UserId;
        private string _SubjectTemplate;
        private string _BodyTemplate;

    #endregion

    #region Constructors

        // initialization
        public MemberInviteSettingsInfo()
        {
        }

    #endregion

    #region Public Properties

        /// <summary>
        /// Gets and sets the Portal Id
        /// </summary>
        public int PortalId
        {
            get
            {
                return _PortalId;
            }
            set
            {
                _PortalId = value;
            }
        }

        /// <summary>
        /// Gets and sets the User Id who Created/Updated the content
        /// </summary>
        public int UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                _UserId = value;
            }
        }

        public string SubjectTemplate
        {
            get { return _SubjectTemplate; }
            set { _SubjectTemplate = value; }
        }

        /// <summary>
        /// gets and sets the BodyTemplate
        /// </summary>
        public string BodyTemplate
        {
            get
            {
                return _BodyTemplate;
            }
            set
            {
                _BodyTemplate = value;
            }
        }

#endregion
    }
}
